+Tue Feb 24 01:08:27 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c: Add a destroy implementation in order to
+ set priv->cell_view to NULL before finalize stumbles over the
+ dangling pointer. This big array of pointers into the widget
+ tree in GtkComboBoxPrivate is really fragile and should be
+ cleaned up.
+
Mon Feb 23 17:52:43 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (main_paned_create): use a size
+Tue Feb 24 01:08:27 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c: Add a destroy implementation in order to
+ set priv->cell_view to NULL before finalize stumbles over the
+ dangling pointer. This big array of pointers into the widget
+ tree in GtkComboBoxPrivate is really fragile and should be
+ cleaned up.
+
Mon Feb 23 17:52:43 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (main_paned_create): use a size
+Tue Feb 24 01:08:27 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c: Add a destroy implementation in order to
+ set priv->cell_view to NULL before finalize stumbles over the
+ dangling pointer. This big array of pointers into the widget
+ tree in GtkComboBoxPrivate is really fragile and should be
+ cleaned up.
+
Mon Feb 23 17:52:43 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (main_paned_create): use a size
+Tue Feb 24 01:08:27 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c: Add a destroy implementation in order to
+ set priv->cell_view to NULL before finalize stumbles over the
+ dangling pointer. This big array of pointers into the widget
+ tree in GtkComboBoxPrivate is really fragile and should be
+ cleaned up.
+
Mon Feb 23 17:52:43 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (main_paned_create): use a size
+Tue Feb 24 01:08:27 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c: Add a destroy implementation in order to
+ set priv->cell_view to NULL before finalize stumbles over the
+ dangling pointer. This big array of pointers into the widget
+ tree in GtkComboBoxPrivate is really fragile and should be
+ cleaned up.
+
Mon Feb 23 17:52:43 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdefault.c (main_paned_create): use a size
static void gtk_combo_box_class_init (GtkComboBoxClass *klass);
static void gtk_combo_box_cell_layout_init (GtkCellLayoutIface *iface);
static void gtk_combo_box_init (GtkComboBox *combo_box);
+static void gtk_combo_box_finalize (GObject *object);
+static void gtk_combo_box_destroy (GtkObject *object);
static void gtk_combo_box_set_property (GObject *object,
guint prop_id,
guint prop_id,
GValue *value,
GParamSpec *spec);
-static void gtk_combo_box_finalize (GObject *object);
static void gtk_combo_box_style_set (GtkWidget *widget,
GtkStyle *previous_style,
{
GObjectClass *object_class;
GtkBindingSet *binding_set;
+ GtkObjectClass *gtk_object_class;
GtkContainerClass *container_class;
GtkWidgetClass *widget_class;
widget_class->scroll_event = gtk_combo_box_scroll_event;
widget_class->mnemonic_activate = gtk_combo_box_mnemonic_activate;
+ gtk_object_class = (GtkObjectClass *)klass;
+ gtk_object_class->destroy = gtk_combo_box_destroy;
+
object_class = (GObjectClass *)klass;
object_class->finalize = gtk_combo_box_finalize;
object_class->set_property = gtk_combo_box_set_property;
return TRUE;
}
+static void
+gtk_combo_box_destroy (GtkObject *object)
+{
+ GtkComboBox *combo_box = GTK_COMBO_BOX (object);
+
+ GTK_OBJECT_CLASS (parent_class)->destroy (object);
+
+ combo_box->priv->cell_view = NULL;
+}
static void
gtk_combo_box_finalize (GObject *object)